package com.ioc;

public class TesetIOC {


    public static void main(String[] args) {
        Boy boy=FactoryBean.getBean("boy");
        System.out.println("IOC:"+boy);

        Girl girl=FactoryBean.getBean("girl");
        System.out.println("IOC:"+girl);
    }

}
